<!DOCTYPE html>
<html lang="en">
<script src="layer/jquery2.1.4.js"></script>
<script src="layer/layer.js"></script>
<head>
    <meta charset="UTF-8">
    <title>layer</title>
    <script>
        function msg() {
            layer.msg("ajfskaf");
        }
        function load() {
           var wid = layer.load(0);
           setTimeout(function(){
               layer.close(wid)
           },2000);
        }
        function msg_load() {
            layer.msg("askljf",{icon:16,shade:0.01});
        }
    </script>
</head>
<body>
    <button onclick="msg()">msg</button>
    <button onclick="load()">load</button>
    <button onclick="msg_load()">msg_load</button>
    <button>alert</button>
</body>
</html>